<%@page import="org.jeecgframework.web.util.StaticValue"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="dataintegritycheckList" checkbox="true" fitColumns="false" title="数据一致性检查" actionUrl="dataintegritycheckController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="检查内容"  field="checkcomment"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="检查sql语句"  field="checksql"    queryMode="single"  width="700"></t:dgCol>
   <t:dgCol title="检查代码"  field="checkcode"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="是否执行"  field="useable" dictionary="<%=StaticValue.DIC_TRUE_OR_FALSE_NUM %>"    queryMode="single"  width="70"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="dataintegritycheckController.do?doDel&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="dataintegritycheckController.do?goAdd" funname="add" width="770" height="230" />
   <t:dgToolBar title="编辑" icon="icon-edit" url="dataintegritycheckController.do?goUpdate" funname="update" width="770" height="230" />
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="dataintegritycheckController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="执行" icon="icon-search" url="dataintegritycheckController.do?executeSql" funname="executeSql"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 function executeSql(){
	addOneTab("执行结果","dataintegritycheckController.do?executeSql","");
}
 </script>